#pragma once
#ifndef VECTOR2D_H
#define VECTOR2D_H

class CVector2D
{
private:
	float x;
	float y;

public:
	CVector2D(void);
	CVector2D(float x, float y);
	~CVector2D(void);

	void CVector2D::setX(float x);
	void CVector2D::setY(float y);

	float CVector2D::getX(void)const;
	float CVector2D::getY(void)const;

	CVector2D CVector2D::operator+(const CVector2D&);
	CVector2D CVector2D::operator*(const float);
	CVector2D CVector2D::operator-(const CVector2D&);
	float CVector2D::norme(void)const;
	void CVector2D::normalise(void);

};
#endif